<?php

namespace app\api\controller;

use app\common\controller\RestfulApiBase;
use think\Request;

/**
 * 测试
 * Class Test
 * @package app\api\controller
 */
class Index extends RestfulApiBase
{
    public function index()
    {
        $this->param = parent::getParam();

        $data['code'] = 200;
        $data['msg'] = 'success';
        $data['error_code'] = 0;
        return json($data);
    }


}